package com.tcxr.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

 
import com.tcxr.framework.base.WebBase;


@Controller
public class URLManagement extends WebBase {
	
	@RequestMapping("/{url1}/{url2}/{url3}/{url4}")
	@ResponseBody
	public String URL(@PathVariable("url1") String url1,
					@PathVariable("url2") String url2,
					@PathVariable("url3") String url3,
					@PathVariable("url4") String url4 )
	{
		System.out.println("url1"+url1);
		System.out.println("url2"+url2);
		System.out.println("url3"+url3);
		System.out.println("url4"+url4);
		return "";
	}
	
	@RequestMapping("json")
	@ResponseBody
	public String json()
	{
		return "json";
	}
	
	
	

}
